package com.api.league.dao;

import com.api.core.ApiMapper;
import com.api.league.model.LeagueTopPlayer;
import com.api.league.vo.LeagueTopPlayerVo;
import io.swagger.annotations.ApiParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author RenQiang
 * @date 2021/8/15
 */
@Mapper
public interface LeagueTopPlayerMapper extends ApiMapper<LeagueTopPlayer> {
    void insertOrUpdate(@Param("leagueTopPlayer") LeagueTopPlayer leagueTopPlayer);

    List<LeagueTopPlayerVo> getByLeagueId(@ApiParam("leagueId") Long leagueId);
}
